<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template header}
	<div id="app">
       	<header class="top">
        	<span>交易记录</span> 
        	<a href="{U('agent/index')}" class="iconfont back"></a> 
        	<input type="hidden" id="operation" value=""/>
       	</header> 
       	<div data-v-175e27ec="" class="main" s="[object Object]"  style="background: #fff; padding-bottom: 0;">
            <div data-v-175e27ec="" class="textMore dataType">
             	<em data-v-175e27ec="" class="tag_choice_day">今天</em> 
             	<i data-v-175e27ec="" class="iconfont"></i>
            </div> 
            <div class="searchBtn">
                <div class="searchCon">
                    <input type="text" placeholder="下级投注查询" class="proxySearch" id="id_search_input">
                </div>
                <a id="submitBtn">
                <div class="submitTouch">
                    <i class="iconfont"></i>
                </div>
                </a>
            </div>
            <div data-v-175e27ec="" id="leftTabBox">
             	<div data-v-175e27ec="" class="hd">
                  	<ul data-v-175e27ec="">
                       	<li data-v-175e27ec="" class="tag_item on" onclick="tradeControllShow(this, '')">所有类型</li>
                       	<li data-v-175e27ec="" class="tag_item" onclick="tradeControllShow(this, '1')">提现记录</li>
                       	<li data-v-175e27ec="" class="tag_item" onclick="tradeControllShow(this, '2')">充值记录</li>
                  	</ul>
             	</div> 
             	<div data-v-175e27ec="" class="bd dontSelect">
                  	<div data-v-175e27ec="" class="scrollBox AllScroll">
                       	<div data-v-175e27ec="" class="touchScroll tag_order_content"></div>
                  	</div>
             	</div>
            </div> 
            <div data-v-8a5a4472="" class="_problemBox tag_choice_item" data-v-175e27ec="" style="display: none;">
             	<div data-v-8a5a4472="" class="blackBg"></div> 
             	<div data-v-8a5a4472="" class="moreLayer">
                  	<ul data-v-8a5a4472="" class="tag_choice_item_li">
                       	<li data-v-8a5a4472=""><a data-v-8a5a4472="">今天</a></li>
                       	<p class="hr1px"></p>
                       	<li data-v-8a5a4472=""><a data-v-8a5a4472="">昨天</a></li>
                       	<p class="hr1px"></p>
                       	<li data-v-8a5a4472=""><a data-v-8a5a4472="">七天</a></li>
                  	</ul> 
                  	<ul data-v-8a5a4472="" class="tag_choice_close">
                   		<li data-v-8a5a4472=""><a data-v-8a5a4472="">取消</a></li>
                  	</ul>
             	</div>
            </div> 
        	<div data-v-8ee5499e="" class="layShow" data-v-175e27ec="" style="display: none;">
             	<div data-v-8ee5499e="" class="topBG">
              		<a data-v-8ee5499e="" class="iconfont back"></a> 
              		<div data-v-8ee5499e="">
                   		<em data-v-8ee5499e="">注单详情</em>
                  	</div> 
              		<div data-v-8ee5499e="" style="float:right;width:20%"></div>
             	</div> 
             	<div data-v-8ee5499e="" class="main">
                  	<div data-v-8ee5499e="" class="tzHead">
                       	<div data-v-8ee5499e="" class="fl iconfont"></div> 
                       	<h1 data-v-8ee5499e=""></h1>
                       	<span data-v-8ee5499e=""></span>
                       	<p data-v-8ee5499e="">第期</p>
                  	</div> 
                  	<table data-v-8ee5499e="">
                       	<tbody>
                            <tr data-v-8ee5499e="">
                             	<td data-v-8ee5499e="">投注时间</td>
                             	<td data-v-8ee5499e=""></td>
                            </tr> 
                            <tr data-v-8ee5499e="">
                             	<td data-v-8ee5499e="">投注单号</td>
                             	<td data-v-8ee5499e=""></td>
                            </tr>
                            <tr data-v-8ee5499e="">
                             	<td data-v-8ee5499e="">投注金额</td>
                             	<td data-v-8ee5499e="">&yen;元</td>
                            </tr> 
                            <tr data-v-8ee5499e="">
                             	<td data-v-8ee5499e="">派送奖金</td>
                             	<td data-v-8ee5499e="">&yen;元</td>
                            </tr> 
                            <tr data-v-8ee5499e=""></tr>
                       	</tbody>
                  	</table> 
                  	<section data-v-8ee5499e="">
                   		<header data-v-8ee5499e="">我的投注</header> 
                       	<ul data-v-8ee5499e="">
                        	<li data-v-8ee5499e=""></li> 
                        	<li data-v-8ee5499e=""></li>
                       	</ul>
                  	</section>
             	</div>
        	</div>
       	</div> 
   	</div>
    <script>
        // 载入用户的投注记录
        var resData     = '';
        var jsonBaseUrl = "{U('ajaxfunc/member_moneylog')}";
        $.ajax({  
    		type:'post',    
    	    url:jsonBaseUrl,  
    	    data:'operation=' + $('#operation').val() + '&type=agent_all',  
    	    cache:false,  
    	    dataType:'json',  
    	    async:false,
    	    success:function(res){  
    	    	resData = res;
    	    }  
    	})
    	
    	$('#submitBtn').on('click', '', function (){
    		$.ajax({  
        		type:'post',    
        	    url:jsonBaseUrl,  
        	    data:'operation=' + $('#operation').val() + '&type=' + $('#id_search_input').val(),  
        	    cache:false,  
        	    dataType:'json',  
        	    async:false,
        	    success:function(res){  
        	    	resData = res;
        	    	setList('', choice_day);
        	    }  
        	})
        })
    </script>
    <script src="static/wap/js/tag_moneylog_init.js"></script>
    <script src="static/wap/js/tag_moneylog.js"></script>
    {template footer}
</html>